<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libxlsxwriter: chart_fonts.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libxlsxwriter
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">chart_fonts.c</div>  </div>
</div><!--header-->
<div class="contents">
<table width="600">
<tr>
<td><a class="el" href="chart_data_labels_8c-example.html">&lt;&lt; chart_data_labels.c</a> </td><td align="right"><a class="el" href="chart_pattern_8c-example.html">chart_pattern.c &gt;&gt;</a>  </td></tr>
</table>
<p>An example of creating a simple chart with different fonts.</p>
<div class="image">
<img src="chart_fonts.png" alt=""/>
</div>
<div class="fragment"><div class="line"><span class="comment">/*</span></div>
<div class="line"><span class="comment"> * An example of a simple Excel chart with user defined fonts using the</span></div>
<div class="line"><span class="comment"> * libxlsxwriter library.</span></div>
<div class="line"><span class="comment"> *</span></div>
<div class="line"><span class="comment"> * Copyright 2014-2018, John McNamara, jmcnamara@cpan.org</span></div>
<div class="line"><span class="comment"> *</span></div>
<div class="line"><span class="comment"> */</span></div>
<div class="line"> </div>
<div class="line"><span class="preprocessor">#include &quot;xlsxwriter.h&quot;</span></div>
<div class="line"> </div>
<div class="line"> </div>
<div class="line"><span class="comment">/* Create a worksheet with a chart. */</span></div>
<div class="line"><span class="keywordtype">int</span> main() {</div>
<div class="line"> </div>
<div class="line">    <a name="_a0"></a><a class="code" href="structlxw__workbook.html">lxw_workbook</a>  *workbook  = <a name="a1"></a><a class="code" href="workbook_8h.html#a1cf96608a23ee4eb0e8467c15240d00b">workbook_new</a>(<span class="stringliteral">&quot;chart_fonts.xlsx&quot;</span>);</div>
<div class="line">    <a name="_a2"></a><a class="code" href="structlxw__worksheet.html">lxw_worksheet</a> *worksheet = <a name="a3"></a><a class="code" href="workbook_8h.html#a81d456b4f65a464e78e4a0030ecc3c2e">workbook_add_worksheet</a>(workbook, NULL);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Write some data for the chart. */</span></div>
<div class="line">    <a name="a4"></a><a class="code" href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a>(worksheet, 0, 0, 10, NULL);</div>
<div class="line">    <a class="code" href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a>(worksheet, 1, 0, 40, NULL);</div>
<div class="line">    <a class="code" href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a>(worksheet, 2, 0, 50, NULL);</div>
<div class="line">    <a class="code" href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a>(worksheet, 3, 0, 20, NULL);</div>
<div class="line">    <a class="code" href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a>(worksheet, 4, 0, 10, NULL);</div>
<div class="line">    <a class="code" href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a>(worksheet, 5, 0, 50, NULL);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Create a chart object. */</span></div>
<div class="line">    <a name="_a5"></a><a class="code" href="structlxw__chart.html">lxw_chart</a> *chart = <a name="a6"></a><a class="code" href="workbook_8h.html#a63b001ecefdbc4417986a3e344657726">workbook_add_chart</a>(workbook, <a name="a7"></a><a class="code" href="chart_8h.html#a9f577b0fcabe6cac9118a26a483fe85caf309b18af571c90d3ae052e769d30e6c">LXW_CHART_LINE</a>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Configure the chart. */</span></div>
<div class="line">    <a name="a8"></a><a class="code" href="chart_8h.html#ad60de0eb056e93435407e91482115f55">chart_add_series</a>(chart, NULL, <span class="stringliteral">&quot;Sheet1!$A$1:$A$6&quot;</span>);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Create some fonts to use in the chart.  */</span></div>
<div class="line">    <a name="_a9"></a><a class="code" href="structlxw__chart__font.html">lxw_chart_font</a> font1 = {.<a name="a10"></a><a class="code" href="structlxw__chart__font.html#a9d9fc7673d551efbe2a9729f211c25c4">name</a> = <span class="stringliteral">&quot;Calibri&quot;</span>, .color = <a name="a11"></a><a class="code" href="format_8h.html#abeafc6e8222ba9fcfd4f2c2f4e9ea38ba81f6ca72c0925fe665263547614ebb37">LXW_COLOR_BLUE</a>};</div>
<div class="line">    <a class="code" href="structlxw__chart__font.html">lxw_chart_font</a> font2 = {.<a class="code" href="structlxw__chart__font.html#a9d9fc7673d551efbe2a9729f211c25c4">name</a> = <span class="stringliteral">&quot;Courier&quot;</span>, .color = 0x92D050};</div>
<div class="line">    <a class="code" href="structlxw__chart__font.html">lxw_chart_font</a> font3 = {.<a class="code" href="structlxw__chart__font.html#a9d9fc7673d551efbe2a9729f211c25c4">name</a> = <span class="stringliteral">&quot;Arial&quot;</span>,   .color = 0x00B0F0};</div>
<div class="line">    <a class="code" href="structlxw__chart__font.html">lxw_chart_font</a> font4 = {.<a class="code" href="structlxw__chart__font.html#a9d9fc7673d551efbe2a9729f211c25c4">name</a> = <span class="stringliteral">&quot;Century&quot;</span>, .color = <a name="a12"></a><a class="code" href="format_8h.html#abeafc6e8222ba9fcfd4f2c2f4e9ea38baedd7412491d9f34fc5f947ada9d196ec">LXW_COLOR_RED</a>};</div>
<div class="line">    <a class="code" href="structlxw__chart__font.html">lxw_chart_font</a> font5 = {.<a name="a13"></a><a class="code" href="structlxw__chart__font.html#a6ed9b251728efcaf0e8ee460377ab17f">rotation</a> = -30};</div>
<div class="line">    <a class="code" href="structlxw__chart__font.html">lxw_chart_font</a> font6 = {.<a name="a14"></a><a class="code" href="structlxw__chart__font.html#abca1be9b66dcd9bc4558cc97556456b5">bold</a>      = <a name="a15"></a><a class="code" href="common_8h.html#a57bffaf0ff3cb4e9f4f7f2b0b6dad349a7850bcc34c18efe2e45372f4069be0bf">LXW_TRUE</a>,</div>
<div class="line">                            .italic    = <a class="code" href="common_8h.html#a57bffaf0ff3cb4e9f4f7f2b0b6dad349a7850bcc34c18efe2e45372f4069be0bf">LXW_TRUE</a>,</div>
<div class="line">                            .underline = <a class="code" href="common_8h.html#a57bffaf0ff3cb4e9f4f7f2b0b6dad349a7850bcc34c18efe2e45372f4069be0bf">LXW_TRUE</a>,</div>
<div class="line">                            .color     = 0x7030A0};</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Write the chart title with a font. */</span></div>
<div class="line">    <a name="a16"></a><a class="code" href="chart_8h.html#aa0a0b3eadc51a608c76bb9473943e191">chart_title_set_name</a>(chart, <span class="stringliteral">&quot;Test Results&quot;</span>);</div>
<div class="line">    <a name="a17"></a><a class="code" href="chart_8h.html#ab3cde364ea66bb2edfae426299fe7dc7">chart_title_set_name_font</a>(chart, &amp;font1);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Write the Y axis with a font. */</span></div>
<div class="line">    <a name="a18"></a><a class="code" href="chart_8h.html#a650d569ff37a087101b7bff4ee7bb130">chart_axis_set_name</a>(chart-&gt;<a name="a19"></a><a class="code" href="structlxw__chart.html#aec951bda729ea8184fa0827c5f091f37">y_axis</a>, <span class="stringliteral">&quot;Units&quot;</span>);</div>
<div class="line">    <a name="a20"></a><a class="code" href="chart_8h.html#ac4be8325cbcaeddda0a92f1809d8156d">chart_axis_set_name_font</a>(chart-&gt;<a class="code" href="structlxw__chart.html#aec951bda729ea8184fa0827c5f091f37">y_axis</a>, &amp;font2);</div>
<div class="line">    <a name="a21"></a><a class="code" href="chart_8h.html#a01f1ac1674089e0dc219dc3214b911c4">chart_axis_set_num_font</a>(chart-&gt;<a class="code" href="structlxw__chart.html#aec951bda729ea8184fa0827c5f091f37">y_axis</a>, &amp;font3);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Write the X axis with a font. */</span></div>
<div class="line">    <a class="code" href="chart_8h.html#a650d569ff37a087101b7bff4ee7bb130">chart_axis_set_name</a>(chart-&gt;<a name="a22"></a><a class="code" href="structlxw__chart.html#a17fa7931e6825a60de50444438e7f718">x_axis</a>, <span class="stringliteral">&quot;Month&quot;</span>);</div>
<div class="line">    <a class="code" href="chart_8h.html#ac4be8325cbcaeddda0a92f1809d8156d">chart_axis_set_name_font</a>(chart-&gt;<a class="code" href="structlxw__chart.html#a17fa7931e6825a60de50444438e7f718">x_axis</a>, &amp;font4);</div>
<div class="line">    <a class="code" href="chart_8h.html#a01f1ac1674089e0dc219dc3214b911c4">chart_axis_set_num_font</a>(chart-&gt;<a class="code" href="structlxw__chart.html#a17fa7931e6825a60de50444438e7f718">x_axis</a>, &amp;font5);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Display the chart legend at the bottom of the chart. */</span></div>
<div class="line">    <a name="a23"></a><a class="code" href="chart_8h.html#af1382251c31fd8f97e19048acf5db0a1">chart_legend_set_position</a>(chart, <a name="a24"></a><a class="code" href="chart_8h.html#aa7331d5134989542f324aa6f1f1f7d22ad8ecb14a4843e242f037b00c8d28c8ec">LXW_CHART_LEGEND_BOTTOM</a>);</div>
<div class="line">    <a name="a25"></a><a class="code" href="chart_8h.html#ac24ae880bab2fa949d8b84a25fc9a457">chart_legend_set_font</a>(chart, &amp;font6);</div>
<div class="line"> </div>
<div class="line">    <span class="comment">/* Insert the chart into the worksheet. */</span></div>
<div class="line">    <a name="a26"></a><a class="code" href="worksheet_8h.html#ac2067faaacb8bfa6550b019e915900a2">worksheet_insert_chart</a>(worksheet, <a name="a27"></a><a class="code" href="utility_8h.html#ad510ac6df573d23203374e24dba373d2">CELL</a>(<span class="stringliteral">&quot;C1&quot;</span>), chart);</div>
<div class="line"> </div>
<div class="line">    <span class="keywordflow">return</span> <a name="a28"></a><a class="code" href="workbook_8h.html#ad9e7aeebc0fd43562db5bcd527b2ee5e">workbook_close</a>(workbook);</div>
<div class="line">}</div>
</div><!-- fragment --> </div><!-- contents -->
<div class="ttc" id="aworkbook_8h_html_ad9e7aeebc0fd43562db5bcd527b2ee5e"><div class="ttname"><a href="workbook_8h.html#ad9e7aeebc0fd43562db5bcd527b2ee5e">workbook_close</a></div><div class="ttdeci">lxw_error workbook_close(lxw_workbook *workbook)</div><div class="ttdoc">Close the Workbook object and write the XLSX file.</div></div>
<div class="ttc" id="achart_8h_html_ac24ae880bab2fa949d8b84a25fc9a457"><div class="ttname"><a href="chart_8h.html#ac24ae880bab2fa949d8b84a25fc9a457">chart_legend_set_font</a></div><div class="ttdeci">void chart_legend_set_font(lxw_chart *chart, lxw_chart_font *font)</div><div class="ttdoc">Set the font properties for a chart legend.</div></div>
<div class="ttc" id="achart_8h_html_a650d569ff37a087101b7bff4ee7bb130"><div class="ttname"><a href="chart_8h.html#a650d569ff37a087101b7bff4ee7bb130">chart_axis_set_name</a></div><div class="ttdeci">void chart_axis_set_name(lxw_chart_axis *axis, const char *name)</div><div class="ttdoc">Set the name caption of the an axis.</div></div>
<div class="ttc" id="achart_8h_html_ad60de0eb056e93435407e91482115f55"><div class="ttname"><a href="chart_8h.html#ad60de0eb056e93435407e91482115f55">chart_add_series</a></div><div class="ttdeci">lxw_chart_series * chart_add_series(lxw_chart *chart, const char *categories, const char *values)</div><div class="ttdoc">Add a data series to a chart.</div></div>
<div class="ttc" id="aworkbook_8h_html_a1cf96608a23ee4eb0e8467c15240d00b"><div class="ttname"><a href="workbook_8h.html#a1cf96608a23ee4eb0e8467c15240d00b">workbook_new</a></div><div class="ttdeci">lxw_workbook * workbook_new(const char *filename)</div><div class="ttdoc">Create a new workbook object.</div></div>
<div class="ttc" id="achart_8h_html_ab3cde364ea66bb2edfae426299fe7dc7"><div class="ttname"><a href="chart_8h.html#ab3cde364ea66bb2edfae426299fe7dc7">chart_title_set_name_font</a></div><div class="ttdeci">void chart_title_set_name_font(lxw_chart *chart, lxw_chart_font *font)</div><div class="ttdoc">Set the font properties for a chart title.</div></div>
<div class="ttc" id="astructlxw__chart__font_html"><div class="ttname"><a href="structlxw__chart__font.html">lxw_chart_font</a></div><div class="ttdoc">Struct to represent a chart font.</div><div class="ttdef"><b>Definition:</b> chart.h:699</div></div>
<div class="ttc" id="achart_8h_html_a9f577b0fcabe6cac9118a26a483fe85caf309b18af571c90d3ae052e769d30e6c"><div class="ttname"><a href="chart_8h.html#a9f577b0fcabe6cac9118a26a483fe85caf309b18af571c90d3ae052e769d30e6c">LXW_CHART_LINE</a></div><div class="ttdeci">@ LXW_CHART_LINE</div><div class="ttdef"><b>Definition:</b> chart.h:125</div></div>
<div class="ttc" id="astructlxw__worksheet_html"><div class="ttname"><a href="structlxw__worksheet.html">lxw_worksheet</a></div><div class="ttdoc">Struct to represent an Excel worksheet.</div><div class="ttdef"><b>Definition:</b> worksheet.h:1603</div></div>
<div class="ttc" id="achart_8h_html_ac4be8325cbcaeddda0a92f1809d8156d"><div class="ttname"><a href="chart_8h.html#ac4be8325cbcaeddda0a92f1809d8156d">chart_axis_set_name_font</a></div><div class="ttdeci">void chart_axis_set_name_font(lxw_chart_axis *axis, lxw_chart_font *font)</div><div class="ttdoc">Set the font properties for a chart axis name.</div></div>
<div class="ttc" id="acommon_8h_html_a57bffaf0ff3cb4e9f4f7f2b0b6dad349a7850bcc34c18efe2e45372f4069be0bf"><div class="ttname"><a href="common_8h.html#a57bffaf0ff3cb4e9f4f7f2b0b6dad349a7850bcc34c18efe2e45372f4069be0bf">LXW_TRUE</a></div><div class="ttdeci">@ LXW_TRUE</div><div class="ttdef"><b>Definition:</b> common.h:53</div></div>
<div class="ttc" id="astructlxw__chart_html"><div class="ttname"><a href="structlxw__chart.html">lxw_chart</a></div><div class="ttdoc">Struct to represent an Excel chart.</div><div class="ttdef"><b>Definition:</b> chart.h:1086</div></div>
<div class="ttc" id="aworksheet_8h_html_ac2067faaacb8bfa6550b019e915900a2"><div class="ttname"><a href="worksheet_8h.html#ac2067faaacb8bfa6550b019e915900a2">worksheet_insert_chart</a></div><div class="ttdeci">lxw_error worksheet_insert_chart(lxw_worksheet *worksheet, lxw_row_t row, lxw_col_t col, lxw_chart *chart)</div><div class="ttdoc">Insert a chart object into a worksheet.</div></div>
<div class="ttc" id="astructlxw__chart_html_aec951bda729ea8184fa0827c5f091f37"><div class="ttname"><a href="structlxw__chart.html#aec951bda729ea8184fa0827c5f091f37">lxw_chart::y_axis</a></div><div class="ttdeci">lxw_chart_axis * y_axis</div><div class="ttdef"><b>Definition:</b> chart.h:1107</div></div>
<div class="ttc" id="astructlxw__chart__font_html_a9d9fc7673d551efbe2a9729f211c25c4"><div class="ttname"><a href="structlxw__chart__font.html#a9d9fc7673d551efbe2a9729f211c25c4">lxw_chart_font::name</a></div><div class="ttdeci">char * name</div><div class="ttdef"><b>Definition:</b> chart.h:702</div></div>
<div class="ttc" id="astructlxw__workbook_html"><div class="ttname"><a href="structlxw__workbook.html">lxw_workbook</a></div><div class="ttdoc">Struct to represent an Excel workbook.</div><div class="ttdef"><b>Definition:</b> workbook.h:273</div></div>
<div class="ttc" id="astructlxw__chart_html_a17fa7931e6825a60de50444438e7f718"><div class="ttname"><a href="structlxw__chart.html#a17fa7931e6825a60de50444438e7f718">lxw_chart::x_axis</a></div><div class="ttdeci">lxw_chart_axis * x_axis</div><div class="ttdef"><b>Definition:</b> chart.h:1101</div></div>
<div class="ttc" id="astructlxw__chart__font_html_a6ed9b251728efcaf0e8ee460377ab17f"><div class="ttname"><a href="structlxw__chart__font.html#a6ed9b251728efcaf0e8ee460377ab17f">lxw_chart_font::rotation</a></div><div class="ttdeci">int32_t rotation</div><div class="ttdef"><b>Definition:</b> chart.h:720</div></div>
<div class="ttc" id="achart_8h_html_af1382251c31fd8f97e19048acf5db0a1"><div class="ttname"><a href="chart_8h.html#af1382251c31fd8f97e19048acf5db0a1">chart_legend_set_position</a></div><div class="ttdeci">void chart_legend_set_position(lxw_chart *chart, uint8_t position)</div><div class="ttdoc">Set the position of the chart legend.</div></div>
<div class="ttc" id="achart_8h_html_aa0a0b3eadc51a608c76bb9473943e191"><div class="ttname"><a href="chart_8h.html#aa0a0b3eadc51a608c76bb9473943e191">chart_title_set_name</a></div><div class="ttdeci">void chart_title_set_name(lxw_chart *chart, const char *name)</div><div class="ttdoc">Set the title of the chart.</div></div>
<div class="ttc" id="aformat_8h_html_abeafc6e8222ba9fcfd4f2c2f4e9ea38ba81f6ca72c0925fe665263547614ebb37"><div class="ttname"><a href="format_8h.html#abeafc6e8222ba9fcfd4f2c2f4e9ea38ba81f6ca72c0925fe665263547614ebb37">LXW_COLOR_BLUE</a></div><div class="ttdeci">@ LXW_COLOR_BLUE</div><div class="ttdef"><b>Definition:</b> format.h:184</div></div>
<div class="ttc" id="astructlxw__chart__font_html_abca1be9b66dcd9bc4558cc97556456b5"><div class="ttname"><a href="structlxw__chart__font.html#abca1be9b66dcd9bc4558cc97556456b5">lxw_chart_font::bold</a></div><div class="ttdeci">uint8_t bold</div><div class="ttdef"><b>Definition:</b> chart.h:708</div></div>
<div class="ttc" id="aformat_8h_html_abeafc6e8222ba9fcfd4f2c2f4e9ea38baedd7412491d9f34fc5f947ada9d196ec"><div class="ttname"><a href="format_8h.html#abeafc6e8222ba9fcfd4f2c2f4e9ea38baedd7412491d9f34fc5f947ada9d196ec">LXW_COLOR_RED</a></div><div class="ttdeci">@ LXW_COLOR_RED</div><div class="ttdef"><b>Definition:</b> format.h:217</div></div>
<div class="ttc" id="aworksheet_8h_html_ad9fc47d3beaa2ab4759414e8580c2289"><div class="ttname"><a href="worksheet_8h.html#ad9fc47d3beaa2ab4759414e8580c2289">worksheet_write_number</a></div><div class="ttdeci">lxw_error worksheet_write_number(lxw_worksheet *worksheet, lxw_row_t row, lxw_col_t col, double number, lxw_format *format)</div><div class="ttdoc">Write a number to a worksheet cell.</div></div>
<div class="ttc" id="achart_8h_html_aa7331d5134989542f324aa6f1f1f7d22ad8ecb14a4843e242f037b00c8d28c8ec"><div class="ttname"><a href="chart_8h.html#aa7331d5134989542f324aa6f1f1f7d22ad8ecb14a4843e242f037b00c8d28c8ec">LXW_CHART_LEGEND_BOTTOM</a></div><div class="ttdeci">@ LXW_CHART_LEGEND_BOTTOM</div><div class="ttdef"><b>Definition:</b> chart.h:179</div></div>
<div class="ttc" id="autility_8h_html_ad510ac6df573d23203374e24dba373d2"><div class="ttname"><a href="utility_8h.html#ad510ac6df573d23203374e24dba373d2">CELL</a></div><div class="ttdeci">#define CELL(cell)</div><div class="ttdoc">Convert an Excel A1 cell string into a (row, col) pair.</div><div class="ttdef"><b>Definition:</b> utility.h:45</div></div>
<div class="ttc" id="aworkbook_8h_html_a81d456b4f65a464e78e4a0030ecc3c2e"><div class="ttname"><a href="workbook_8h.html#a81d456b4f65a464e78e4a0030ecc3c2e">workbook_add_worksheet</a></div><div class="ttdeci">lxw_worksheet * workbook_add_worksheet(lxw_workbook *workbook, const char *sheetname)</div><div class="ttdoc">Add a new worksheet to a workbook.</div></div>
<div class="ttc" id="aworkbook_8h_html_a63b001ecefdbc4417986a3e344657726"><div class="ttname"><a href="workbook_8h.html#a63b001ecefdbc4417986a3e344657726">workbook_add_chart</a></div><div class="ttdeci">lxw_chart * workbook_add_chart(lxw_workbook *workbook, uint8_t chart_type)</div><div class="ttdoc">Create a new chart to be added to a worksheet:</div></div>
<div class="ttc" id="achart_8h_html_a01f1ac1674089e0dc219dc3214b911c4"><div class="ttname"><a href="chart_8h.html#a01f1ac1674089e0dc219dc3214b911c4">chart_axis_set_num_font</a></div><div class="ttdeci">void chart_axis_set_num_font(lxw_chart_axis *axis, lxw_chart_font *font)</div><div class="ttdoc">Set the font properties for the numbers of a chart axis.</div></div>
<!-- HTML footer for doxygen 1.8.20-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Copyright 2014-2020 John McNamara.
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
